Slack (Make an API Call) invalid_json (200) error

Hello, I’m receiving an “invalid_json (200)” error posting to the Slack “usergroups.users.update” endpoint.

Module config:

I’m able to successfully post using the same query parameters/strings in postman:

The content-type header and use of quotes appears to be correct.

Any ideas on what could I be missing?

Thanks,

Andrew

1 Like

Hey @Andrew_H ,

Are you missing a “/” before usergroups.users.update in the URL field. The URL in your bundle output looks off. I thought it would include both the Base URL + the endpoint you’ve specified.

If that doesn’t work, I’d recommend converting your request to form-encoded, see below:

Hopefully that helps!

2 Likes

Thanks for the assistance, yet again, Robin :slightly_smiling_face:.

I receive an “invalid_form_data” when using the form-urlencoded content type.

I’ll test a few other endpoints and see if I get a similar error.

Thanks,

Andrew

I managed to resolve the issue by appending a forward slash “/” at the beginning and end of the endpoint URL. Thanks for providing the clue @Trainward_Consulting

1 Like

Wonderful to hear @Andrew_H best of luck!

1 Like