Why am I Getting an "Unknown Configuration Error" When Using the "Update Metaobject" Action for Complex Metaobjects on Shopify?

This topic was automatically generated from Slack. You can find the original thread here.

When using you “Update Metaobject” Action for Shopify I get an “Unknown configuration error” when I try to use it on more complex metaobject (even though everything is configured correctly). As long as I try to update less complex metaobjects it works. Is there a known issue with that action? I know it’s pretty new.

And is there a reason I need to configure fields that are not mandatory?

*push

or anyone - any idea on that?

I know you’ve had some experience with Shopify — do you happen to know?

Can you give an example of your configuration for a more complex metaobject?
As for the fields being mandatory, I don’t see any reason why they can’t be optional. I’ll create a new github issue to make that change.

I can try to give you the stucture of our object - I assumpt that Pipedrive has some issues, cause it uses nearly all shopify field types (also relations) within one metaobject. Would the structure help?

Possibly. Does it use field types not listed in this file? https://github.com/PipedreamHQ/pipedream/blob/master/components/shopify/actions/common/consts.mjs

No - there is no field we use that is not listed

I was able to reproduce getting an Unknown Configuration Error when the metaobject has some null values. I updated the field props to be optional, and made an update to prevent it trying to assign null values. Shopify & Shopify Developer App - make additionalProps optional in Update Metaobject action by michelle0927 · Pull Request #7385 · PipedreamHQ/pipedream · GitHub

Does this mean it should be already fixed? :slightly_smiling_face:

The PR has to pass through Code Review & QA. Once it’s merged/published, it should be fixed. If you’re still getting an error after that, let us know and we’ll look into it again.

Okay - thx. So it might make sense to have a look at the PR from time to time :slightly_smiling_face: