Discussion Forum: Thread 353568

 Author: nuukee View Messages Posted By nuukee
 Posted: Feb 5, 2024 12:26
 Subject: API bug? "description" missing from inventory
 Viewed: 91 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

nuukee (250)

Location:  Germany, Baden-Württemberg
Member Since Contact Type Status
Apr 28, 2020 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Seller Does Not Ship to My Country Store: Sagittarius
Hi,
my store broke because some inventories do not return the "description"
field anymore.
E.g. if you check:
https://api.bricklink.com/api/store/v1/inventories/392742845
The description field is missing. This seems to happen for new inventories I
create, the old ones are fine and return description.
Any help would be appreciated

Thanks,
Sven
 Author: ErwinNL View Messages Posted By ErwinNL
 Posted: Feb 5, 2024 12:58
 Subject: Re: API bug? "description" missing from inventory
 Viewed: 43 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ErwinNL (622)

Location:  Netherlands, Overijssel
Member Since Contact Type Status
Oct 27, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Seller Ships to My Country Store: TheBug
In Technical Issues, nuukee writes:
  Hi,
my store broke because some inventories do not return the "description"
field anymore.
E.g. if you check:
https://api.bricklink.com/api/store/v1/inventories/392742845
The description field is missing. This seems to happen for new inventories I
create, the old ones are fine and return description.
Any help would be appreciated

Thanks,
Sven

I just created a single lot with description and get it after that, no problem,
any specific parameters I should try?
 Author: Stellar View Messages Posted By Stellar
 Posted: Feb 5, 2024 13:06
 Subject: Re: API bug? "description" missing from inventory
 Viewed: 32 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Stellar (3518)

Location:  Spain, Comunidad Valenciana
Member Since Contact Type Status
Sep 24, 2015 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Seller Ships to My Country Store: Stellar Bricks
BrickLink Discussions Moderator (?)
In Technical Issues, ErwinNL writes:
  In Technical Issues, nuukee writes:
  Hi,
my store broke because some inventories do not return the "description"
field anymore.
E.g. if you check:
https://api.bricklink.com/api/store/v1/inventories/392742845
The description field is missing. This seems to happen for new inventories I
create, the old ones are fine and return description.
Any help would be appreciated

Thanks,
Sven

I just created a single lot with description and get it after that, no problem,
any specific parameters I should try?

The lot in their store has no description, maybe before it returned the field
but empty and now if empty is doesn't return it?

https://store.bricklink.com/nuukee?p=nuukee#/shop?o={%22q%22:%22392742845%22,%22pgSize%22:100,%22showHomeItems%22:0}
 Author: nuukee View Messages Posted By nuukee
 Posted: Feb 5, 2024 13:09
 Subject: Re: API bug? "description" missing from inventory
 Viewed: 30 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

nuukee (250)

Location:  Germany, Baden-Württemberg
Member Since Contact Type Status
Apr 28, 2020 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Seller Does Not Ship to My Country Store: Sagittarius
  The lot in their store has no description, maybe before it returned the field
but empty and now if empty is doesn't return it?


Yes, I assume the same. I can work around that.
All other empty fields are still returned, though.
Something on the server side seems to have changed.

Thanks for checking!
 Author: nuukee View Messages Posted By nuukee
 Posted: Feb 5, 2024 13:07
 Subject: Re: API bug? "description" missing from inventory
 Viewed: 28 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

nuukee (250)

Location:  Germany, Baden-Württemberg
Member Since Contact Type Status
Apr 28, 2020 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Seller Does Not Ship to My Country Store: Sagittarius
  I just created a single lot with description and get it after that, no problem,
any specific parameters I should try?

Thanks for checking.
Did you create it with the API? When I create e.g. 4445, color blue, with the
API, and then retrieve the inventory, the description is empty.
Sven
 Author: ErwinNL View Messages Posted By ErwinNL
 Posted: Feb 5, 2024 13:23
 Subject: Re: API bug? "description" missing from inventory
 Viewed: 43 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ErwinNL (622)

Location:  Netherlands, Overijssel
Member Since Contact Type Status
Oct 27, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Seller Ships to My Country Store: TheBug
In Technical Issues, nuukee writes:
  
  I just created a single lot with description and get it after that, no problem,
any specific parameters I should try?

Thanks for checking.
Did you create it with the API? When I create e.g. 4445, color blue, with the
API, and then retrieve the inventory, the description is empty.
Sven

Tried both with the API, and it works for me but that doesn't mean much.
 Author: nuukee View Messages Posted By nuukee
 Posted: Feb 5, 2024 14:51
 Subject: Re: API bug? "description" missing from inventory
 Viewed: 27 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

nuukee (250)

Location:  Germany, Baden-Württemberg
Member Since Contact Type Status
Apr 28, 2020 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Seller Does Not Ship to My Country Store: Sagittarius
In Technical Issues, ErwinNL writes:
  In Technical Issues, nuukee writes:
  
  I just created a single lot with description and get it after that, no problem,
any specific parameters I should try?

Thanks for checking.
Did you create it with the API? When I create e.g. 4445, color blue, with the
API, and then retrieve the inventory, the description is empty.
Sven

Tried both with the API, and it works for me but that doesn't mean much.

Thanks and sorry, should have been more specific. This only happens with empty
descriptions, which used to be returned empty and now the field is not returned
at all whereas other empty fields are.

Sven
 Author: ErwinNL View Messages Posted By ErwinNL
 Posted: Feb 5, 2024 15:07
 Subject: Re: API bug? "description" missing from inventory
 Viewed: 33 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ErwinNL (622)

Location:  Netherlands, Overijssel
Member Since Contact Type Status
Oct 27, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Seller Ships to My Country Store: TheBug
In Technical Issues, nuukee writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, nuukee writes:
  
  I just created a single lot with description and get it after that, no problem,
any specific parameters I should try?

Thanks for checking.
Did you create it with the API? When I create e.g. 4445, color blue, with the
API, and then retrieve the inventory, the description is empty.
Sven

Tried both with the API, and it works for me but that doesn't mean much.

Thanks and sorry, should have been more specific. This only happens with empty
descriptions, which used to be returned empty and now the field is not returned
at all whereas other empty fields are.

Sven

confirmed, I see that too, remarks is returned even when empty, description field
isn't.
 Author: ErwinNL View Messages Posted By ErwinNL
 Posted: Feb 5, 2024 15:08
 Subject: Re: API bug? "description" missing from inventory
 Viewed: 52 times
 Topic: Technical Issues
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

ErwinNL (622)

Location:  Netherlands, Overijssel
Member Since Contact Type Status
Oct 27, 2019 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Seller Ships to My Country Store: TheBug
In Technical Issues, ErwinNL writes:
  In Technical Issues, nuukee writes:
  In Technical Issues, ErwinNL writes:
  In Technical Issues, nuukee writes:
  
  I just created a single lot with description and get it after that, no problem,
any specific parameters I should try?

Thanks for checking.
Did you create it with the API? When I create e.g. 4445, color blue, with the
API, and then retrieve the inventory, the description is empty.
Sven

Tried both with the API, and it works for me but that doesn't mean much.

Thanks and sorry, should have been more specific. This only happens with empty
descriptions, which used to be returned empty and now the field is not returned
at all whereas other empty fields are.

Sven

confirmed, I see that too, remarks is returned even when empty, description field
isn't.

It has to do with https://www.bricklink.com/message.asp?ID=1452018 and the changes
they made for it.