Discussions

Ask a Question

Invalid grant type when calling api to get bearer token

Hi, I am using the oauth2 endpoint <https://auth.roserocket.com/oauth2/token> to get a bearer token. Per comments on this board my post request has the following body <br /> { "grant_type": "password", "username": "[[email protected]](mailto:[email protected])", "password": "<pwd>", "client_id": "<client-id>", "client_secret": "<client-secret>" } <br /> This is the message I get <br /> { "errors": [ { "message": "Invalid grant type" } ] }

Webhooks not working

Hi! Since yesterday, webhooks (event orders) have stopped working, either messages arrive with a very long delay, or they don’t arrive at all.
ANSWERED

Search Manifest

According to the API documentation (<https://roserocket.readme.io/v1.0/reference/find-manifests>), when I search for manifests using one of the support parameters (<https://platform.roserocket.com/api/v1/manifests>), I should receive an orders array. However, all I get is manifest details.
ANSWERED

manifests or master_trips?

Hi, I'm seeing some inconsistent behavior with the v1.0 API. The documentation indicates this call to get a manifest: <https://platform.roserocket.com/api/v1/manifests/{manifestID}> This returns a 404 However this returns data: <https://platform.roserocket.com/api/v1/manifests/{manifestID}/followers> so the api here looks partially implemented Looking at the calls the GUI is making, I see a number of api calls to: <https://platform.roserocket.com/api/v1/master_trips/{manifestID}/>\* for the same manifest id <https://platform.roserocket.com/api/v1/master_trips/{manifestID}> returns manifest data but I can't find any reference to master_trips in the API documentation. Is <https://platform.roserocket.com/api/v1/master_trips/>\* a supported call? I should also note, we aren't using platform.roserocket.com but rather <testingsubdomain>.roserocket.com I appreciate the help.

Error when attempting to exchange authorization code for token

My authorization request returns this response: Found. Redirecting to /u/login?state=hKFo2SBqWFB3ZDYyRVZHN0dadnNpZNkgMDd2dktvRWlqWEFUVmFDRXNZczZpZEJmQjFZc28zY1I (I shortened the string above for brevity and security.) Is the long string following "state=" in that response my "authorization code"? If so, why is it preceded by "state="? Either way, is that the "code=" value I should put in the cURL I subsequently send to <https://a.roserocket.com/oauth/token> to obtain a token? I tried that, but I then get this error response: {"error":"invalid_grant","error_description":"Invalid authorization code”} I'm generally confused about "state" vs "code" and what those values should be and how they relate to each other. Can someone help me figure out what I'm doing wrong?
ANSWERED

API Integration Question

I have a couple of quick questions around the Rose Rocket API. Specifically, I’m using v1 of the API. • Authentication: I’m able to pull a bearer token from the browser and use that to test but I’m having trouble generating a token. I think it’s probably the endpoint I’m trying to hit. In the postman collection, the auth endpoint is: auth.roserocket.com/oauth2/token. My guess is that this endpoint probably only works for production. Is there a different auth endpoint for the sandbox? Are v1 api calls are hitting ftntest.roserocket.com/api/v1 (which works) • I’ve attached the JSON from an order in the test environment (retrieved through a get call). There are a number of total columns that are showing nulls. We need totals for weight, packages and skids for this integration. As a workaround I would have to iterate through the objects in the commodities array to calculate totals. Should these totals be populated in the JSON: "total_weight_lb": null, "total_weight_kg": null, "total_dims_feet": null, "total_dims_skids": null, "total_linear_feet": null, "total_mixed": null, "total_containers_converted": null, "total_cartons": null, "total_skids": null, "total_bundles": null, "total_packages": null, "total_containers": null, "total_pallets": null, "total_crates": null,
ANSWERED

API events trigger

We currently have our eld provider geotab integrated with RR for the purpose of load tracking. We need to send that information to our clients API system. When I assign an asset to the load/order will RR start to send location data about the asset and load/order and if so where do I access that data? Is is it a webhook? Thank you.
ANSWERED

invalid_request: Unknown client

Hi all. I am currently facing an issue while attempting to create a connection in Postman using API v2. Despite verifying that my credentials are correct, I consistently encounter the following error: "invalid_request: Unknown client." thanks
ANSWERED

MacroPoint - Add Stop/Cancel Order API to integration

For the Rose Rocket -> MacroPoint integration, can the Stop Order API be added to the integration? Customers would like to be able to cancel existing tracking orders without needing to go to the MacroPoint website.
ANSWERED

Is it possible to delete an external ID?

I am trying to remove an external ID after an order is cancelled so it can be used again. "Revise an Order by Customer and Order ID" will let me change the number, but it won't let me delete it. I have tried sending: { "external_id":"" } and { "external_id":null } Both go through but don't change anything.