APIs & Integrations

satel
Participant

400 Bad Request on get timeline

SOLVE

Hallo,

we use developer app to integrate app into hubspot account. It works fine, untill recently it didn't work anymore. 
We try to get the timeline from developer app
https://app.hubspot.com/developer/7833795/application/221247

 

an got :

GET https://api.hubapi.com/integrations/v1/221247/timeline/event-types?hapikey=***` resulted in a `400 Bad Request` response:
{"status":"error","message":"This app (ID: 221247) doesn’t match the account '7848179'. Make sure both IDs are correct

 

We do have an account 7848179, but it has a different devloper app id. 

 

Can u please help me with this issue. 

Thanks,

best regards,

Ines Satel

0 Upvotes
1 Accepted solution
lindahl
Solution
Contributor | Diamond Partner
Contributor | Diamond Partner

400 Bad Request on get timeline

SOLVE

Hi @satel ,

By looking at your error, I was thinking are there any chances you have have misconfiguration with your api key?

  • 7833795 this is your developer account portal
  • 221247 this is your app id that resides in 7833795
  • 7848179 this is the portal where 221247 should be installed?

If you take a look closely "This app (ID: 221247) doesn’t match the account '7848179'. Make sure both IDs are correct". 

  • Did you install this app inside the portal where you want timeline to be used?

I am guessing you want to retrieve a timeline, however, please make sure you have the following:

  • 221247 was installed inside your portal by following OAuth installation, I supposedly it shouldn't be 7833795
  • If 221247 is installed correctly in 7848179, you then should be able to use the token or api key of 7848179 for it to work.

View solution in original post

lindahl
Solution
Contributor | Diamond Partner
Contributor | Diamond Partner

400 Bad Request on get timeline

SOLVE

Hi @satel ,

By looking at your error, I was thinking are there any chances you have have misconfiguration with your api key?

  • 7833795 this is your developer account portal
  • 221247 this is your app id that resides in 7833795
  • 7848179 this is the portal where 221247 should be installed?

If you take a look closely "This app (ID: 221247) doesn’t match the account '7848179'. Make sure both IDs are correct". 

  • Did you install this app inside the portal where you want timeline to be used?

I am guessing you want to retrieve a timeline, however, please make sure you have the following:

  • 221247 was installed inside your portal by following OAuth installation, I supposedly it shouldn't be 7833795
  • If 221247 is installed correctly in 7848179, you then should be able to use the token or api key of 7848179 for it to work.
satel
Participant

400 Bad Request on get timeline

SOLVE

Ich checked it again, I didn't update the right Api Key of developer app...

Thanks!

satel
Participant

400 Bad Request on get timeline

SOLVE

Hi @lindahl 

Wenn I so the error, I doubled checked all API keys and Application ids. I also checked the integration app, and it is the right one. I also regenrate the token. Same error...

0 Upvotes
dennisedson
Community Manager
Community Manager

400 Bad Request on get timeline

SOLVE

@satel , It might be worth exploring the newer version of this detailed on this page

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
satel
Participant

400 Bad Request on get timeline

SOLVE

Hi @dennisedson ,

Thanks, I will look into it. On production Site it works. But only on Development it is not working.

0 Upvotes