Discussions
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"
}
]
}
Posted by Vishal Bamba about 15 hours ago
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.
Posted by Maks about 24 hours ago
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?
Posted by null 9 days ago
Authorization and Token process via non-browser implementation
Hello,
We're attempting to complete the whole authentication and authorization process to obtain the bearer token as described in your documentation (<https://roserocket.readme.io/docs/rose-rocket-api-oauth-20-authentication-guide>)
We noticed that when attempting to obtain the `code` to obtain the bearer token, we are redirected to the `redirect_uri` value that was set. Is this the only way to obtain a bearer token from Rose Rocket or is there another API endpoint that only requires the `client_id` and `client_secret` as parameters?
<br />
Thank you.
Posted by Mukandila Mukandila about 1 month ago
Create new customer's order address_book_external_id and address_book_id
<https://roserocket.readme.io/reference/create-order>
"Address book external id. This field value can be null. Leave this field as null if you want to manually specify the address. If you want to populate the address using address_book_external_id, you must leave address_book_id empty."
When using field address_book_external_id or address_book_id I still receive field validation errors looking for City, Country and Postal of the Origin, Destination, and Billing.
Anyone out there using this successfully?
Posted by Mitchell Knight about 2 months ago
how to get container and other details of an order
Hi team we are trying to receive order information through API where we are expecting below details to be identified from get OrderDetails API . Kindly assist on which response tags we can find these values if they were captured while order creation.
Trailer/Container Number
Seal Number 1
Pro Number
Total Number of WMS Shipments in the Truck(For CCI)
Post delivery goods issue (inbound)
Forwarding agent (Partner no.)
Label Type
Pallet Number
Pallet Label Id
Carton Label Id
Actual quantity delivered in stockkeeping units
Base Unit of Measure
Posted by Jaswanth 6 months ago
How to get the delivery date and time?
Seems this is missing from the order details and if we use POD then is the date there the delivered date? or the upload for POD? Also the API Says it is Date and time and it is only returning Date. thank you
Posted by null 7 months ago
BASEURL/api/v1/orders/ API response doesn't include origin and destination address in production environment
We're working with Noorin and she recommended posting here; she can share our direct account details with you if needed.
The API response is not populating the origin and destination addresses in a production environment.we can get the desired in a test environment.
Posted by srikanth 7 months ago
Wrong "pickedup_at" from /orders
Hello - hoping you can assist on this.
endpoint: "search all orders" /orders
When looking for order id "bce3a395-27a9-4166-9cca-9a042ea258b5" we getnwrong date in the ""pickedup_at": "2024-01-04T12:15:14.1414Z"," which is incorrect due to an user error.
q1: Is there any way to edit that value in the UI? so that it reflects the correct "pickedup_at" that is on Jan 02 and not Jan 04.
q2: I see that when calling the specific order id "/orders/orderId" for above example there are in fact multiple values for "pickedup_at" when this is a single shipper multi consignee order. Is there any way to get the first "pickedup_at" time stamp instead of the last when calling "search all orders" /orders ?
Posted by Pablo Martinez 7 months ago
QBO - RR PAID status update issue
After using the endpoint <https://roserocket.readme.io/reference/update-invoice> to update the invoice to PAID status from QBO to RR via API, the request is successful but the invoice remains unchanged.
Posted by Anastasia Petukhova 7 months ago