Skip to content
API call not functi...
 
Notifications
Clear all

API call not functioning

8 Posts
3 Users
0 Reactions
4 Views
mark4
(@mark4)
Posts: 3
Active Member
Topic starter
 

I'm attempting to integrate with Star Infinity and use its API to create an attribute (it's a tool quite similar to Airtable).

https://s3.amazonaws.com/devdocs.startinfinity.com/index.html#attributes-POSTapi-v2-workspaces--workspace--boards--board--attributes

I am following their API documentation, but it's returning a 404 error.

I have tried using a bearer token and also by creating an app.

Could someone please assist?

 
Posted : 16/07/2024 2:36 pm
samliew
(@samliew)
Posts: 293
Reputable Member
 

You are including { } around your auth key, which is incorrect.

Delete the curly brackets.

It should look like this:

Bearer TOKEN_GOES_HERE

For more information,

You can complete this brand new course/tutorial in the callin.io Academy on how to use external APIs — API calls with HTTP modules

  • API and Endpoints
  • Header and body
  • Multipart/form-data
  • OAuth 2.0

Join the callin.io Fans Discord server to chat with other makers!

 
Posted : 16/07/2024 2:41 pm
mark4
(@mark4)
Posts: 3
Active Member
Topic starter
 

even after removing it gives the same error

 
Posted : 16/07/2024 2:50 pm
samliew
(@samliew)
Posts: 293
Reputable Member
 

The subsequent issue, as indicated by the following error message:

You entered an Absolute (full) URL in the URL field.

If you read the description below the URL field, it states:

Enter a path relative … for example …

Join the callin.io Fans Discord server to chat with other makers!

 
Posted : 16/07/2024 2:54 pm
mark4
(@mark4)
Posts: 3
Active Member
Topic starter
 

Thank you, I believe the previous issue is resolved, but now I'm encountering a [422]: The name field is required. (and 1 more error).

I am utilizing the same body details as shown in the API documentation example.

 
Posted : 16/07/2024 3:01 pm
samliew
(@samliew)
Posts: 293
Reputable Member
 

Why are you placing forward slashes before each double quote?

"

 
Posted : 16/07/2024 3:26 pm
mszymkowiak
(@mszymkowiak)
Posts: 5
Active Member
 

I understand this might seem overly cautious, but it's best to refrain from sharing even small portions of your tokens online.

As a security measure, it's always a good idea to review screenshots for any tokens before posting them, given that the community forum is publicly visible.

Also, remember to update your token afterward.

 
Posted : 17/07/2024 1:47 am
samliew
(@samliew)
Posts: 293
Reputable Member
 

Additionally, because you're utilizing the app's universal module, the connection inherently includes the authorization headers. It's advisable not to manually configure the authorization header, as this could potentially lead to conflicts with the existing connection settings.

 
Posted : 17/07/2024 4:17 am
Share: