Gravatar for

Question by allenhan, Jun 24, 2016 5:22 PM

MISSING_PARAMETER error when using REST API to get fields for a source

Hello all

I was trying to use REST API with Cloud for Salesforce to get the fields for the given source, with the following call: GET /workgroups/{workgroupName}/sources/{sourceId}/fields

Even I gave workgoupname and sourceid, the API still complained that:

{ "message": "Parameter 'workgroupName' is required.", "errorCode": "MISSING_PARAMETER" }

Any suggestion to have it fixed? Thanks

Gravatar for

Comment by Martin Laporte, Jun 27, 2016 2:55 AM

Can you post the full url that you used?

Gravatar for

Comment by allenhan, Jun 27, 2016 9:08 AM

Here is the full URL I used. Thanks

Gravatar for

Comment by Simon, Jun 30, 2016 6:07 PM

I cannot access the call. Can you post your code or a manual JSON request (via PostMan or other) ?

Gravatar for

Comment by allenhan, Jun 30, 2016 8:38 PM

Thanks for the checking, Simon. The request was just following the cloud API,!/workgroups/getFields. The URL I provided was the one I tested against my Cloud org. Will you be able to run similar API against an ORG you have access to? I was able to run other APIs, but noticed this one failed. Not sure if anyone else would see the same behavior. Thanks

0 Reply
Ask a question