Skip to main content

Hello, I want to send info to another gogle page via webhook. I define my trigger event and Zappier seems to get it. However, when i define the body, it seems that the info i send does not reflect on the google page. If i try it on postman it works! Does anybody know something about it?

 

Thanks

Hi @Solar YOU 

For us to have more context, post detailed screenshots with how your Zap step is configured.


 

This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.

 


@Solar YOU 

What about the other details for the API request?

  • Method
  • URL
  • Headers

 

Also, link to the API docs you referenced to configure the API request.


Method: POST
URL: https://api.enerlence.com/solar/api/solar-study/simple
Headers: Authorization Bearer (API Key)


The link to the API docs is:
https://api.enerlence.com/solar/docs/#/


@Solar YOU 

Typo in address label.

 

Per the API endpoint documentation you linked to for the URL being used, the parameters are different than what you show in your screenshot.

https://api.enerlence.com/solar/docs/#/Public%20Api%20Solar/saveSimpleSolarStudy

 


I dont really get the answer. The body I send in the post order is the same. What do i need to change?


This post has been edited by a moderator to remove personal information. Please remember that this is a public forum and to remove any sensitive information prior to posting.

@Solar YOU

If you are using this API endpoint, then take a look at the API docs.

Compared to your screenshot of just the Data field, the API endpoint docs show different Parameters and a different Request Body for the JSON.

So either you are using the wrong API endpoint URL in your Zap step OR you are using the wrong JSON structure in your Data field for the Zap step.

 

Method: POST
URL: https://api.enerlence.com/solar/api/solar-study/simple
Headers: Authorization Bearer (API Key)

 

 

 


But it is the same code but with just the info I want to send!! If i code it in postman and check to see if it works, it does work. It does not work in Zapier


@Solar YOU 

Post screenshots with how you have it configured in Postman to give more context.


@Solar YOU

In Zapier, do you have Headers set?

Content-Type: application/json

Accept: application/json

 

Posting a full screenshot with how your Zap step is configured will help us have full context.