Make.com scenario failing due to JSON parsing error when processing API response

:bullseye: What is your goal?

We’re trying to build an automation that processes incoming data via HTTP (API response) and updates our system (Google Sheets/CRM). The goal is to correctly parse the response and continue the workflow without errors.

:thinking: What is the problem & what have you tried?

We’re getting an error in our Make.com scenario:

“Unexpected token < in JSON at position 0”

From what I understand, the module is expecting JSON but something else is being returned.

What we’ve tried so far:

Checked the HTTP module setup
Confirmed the endpoint URL
Retried the scenario multiple times
Looked at the output but not fully sure what’s causing it

Still getting the same error.

:clipboard: Error messages or input/output bundles

IMLError
Function ‘parseError’ finished with error! Unexpected token < in JSON at position 0

:link: Create public scenario page

AA

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hello @Storypulse_hq

This seems to be an http module problem you are calling the wrong endpoint

Inside your HTTP module:

Use the actual API endpoint, not website

Method

GET or POST (depending on API)

Headers (VERY IMPORTANT)

Add:

Content-Type: application/json
Accept: application/json
Authorization: Bearer YOUR_API_KEY

That should help you

You again @Bolex_creatives

Thanks for the other time would try this out right now

Got it @Bolex_creatives