JSON + RestAPI Shopify and UiPath

Hi everyone,

Maybe you can help me. I am currently writing a program with visual basic, which pulls out all customers from our Shopify store via GET HTTP request and then this json packet should be automatically placed in a queue via post command to UiPath. Unfortunately I can’t get any further because the API is currently only causing me problems. I currently have the error “Error Details: {”message": ‘queueItemParameters must not be null’, ‘errorCode’:0, ‘traceId’: ‘00-59e0008de11d8f5f595354af958360b3-f3ab053e8a12e417-00’}” See attachment, this is what my package looks like which I want to send over with “SpecificContent, QueueName, etc”. Can you read anything from there what I am doing wrong or how I have to design the JSON packet? Thanks for your time and help.

Best regards
Nico
json_file_test.json (2.6 KB)

we do oftgen see this when:

  • required properties are missing
    and/or
  • property values are not valid / set as expected

We would recommend the following:

  • do RnD on Swagger
  • work with a mini sample and extend it to more properties incremently
  • avoid nested structures (e.g. adress,email_marketing_consent…) and store its / complex datatype values as serialized strings instead

Hi,

thanks for your Message. I will try this later. The specific Content is the json Package from shopify. So i will check which fields i Really Need.

streamline the RnD and start with (doing on swagger)

  • adding the needed QueueItem Properties + a very basic simple specificContent
  • then extend the specificContent as mentioned above