- 26 Mar 2024
- 4 Minutes to read
- Print
- DarkLight
Pull messages from the server
- Updated on 26 Mar 2024
- 4 Minutes to read
- Print
- DarkLight
Pull certain number of messages from the server.
AWS Cognito Authorizer. Since there are no custom scopes the ID Token must be used for authorization
The RapidIdentity Cloud tenant id
The project id this service belongs (i.e. sm, idhub, ric)
The queue name.
The number of messages to pull from the queue.
Retrieving up to 5 messages from queue
{
"maxMessages": 5
}
The maximum number of messages to return from this request. Must be a positive integer. The Pub/Sub system may return fewer than the number specified
An array of messages
The messages that were received
Optional. This ID can be used to acknowledge the received message.
Optional. The message data. If this field is empty, the message must contain at least one attribute
A base64-encoded string
Optional. Metadata attributes for this message. If this field is empty, the message must contain non-empty data
Optional. ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value must not be populated by the publisher. Read-Only
Optional. The time at which the message was published, populated by the server when the message is published. Read-Only
An issue with how the request was formatted
The error message description
The more detailed information about the error message
The service where the error occured. i.e. sm, idhub
The reason for the error based on Identity Automation common error codes
Additional details about the error
The specific location where the error occurred. i.e. parameter, content
The higher level location of what was trying to be accessed. i.e. pullMessages, publishMessage
The http status code
Additional details about the error
The request is not authorized. Ensure you are using an ID Token in your request and it is not expired
The error message description
The more detailed information about the error message
The service where the error occured. i.e. sm, idhub
The reason for the error based on Identity Automation common error codes
Additional details about the error
The specific location where the error occurred. i.e. parameter, content
The higher level location of what was trying to be accessed. i.e. pullMessages, publishMessage
The http status code
Additional details about the error
The authorization token does not have access to the RapidIdentity Cloud Tenant. Ensure the tenantId used for authentication is the same one used in this request.
The error message description
The more detailed information about the error message
The service where the error occured. i.e. sm, idhub
The reason for the error based on Identity Automation common error codes
Additional details about the error
The specific location where the error occurred. i.e. parameter, content
The higher level location of what was trying to be accessed. i.e. pullMessages, publishMessage
The http status code
Additional details about the error
The requested operation failed because a resource associated with the request could not be found
The error message description
The more detailed information about the error message
The service where the error occured. i.e. sm, idhub
The reason for the error based on Identity Automation common error codes
Additional details about the error
The specific location where the error occurred. i.e. parameter, content
The higher level location of what was trying to be accessed. i.e. pullMessages, publishMessage
The http status code
Additional details about the error
The operation must be included and it must be pull
The error message description
The more detailed information about the error message
The service where the error occured. i.e. sm, idhub
The reason for the error based on Identity Automation common error codes
Additional details about the error
The specific location where the error occurred. i.e. parameter, content
The higher level location of what was trying to be accessed. i.e. pullMessages, publishMessage
The http status code
Additional details about the error
Unable to connect to pubsub service
The error message description
The more detailed information about the error message
The service where the error occured. i.e. sm, idhub
The reason for the error based on Identity Automation common error codes
Additional details about the error
The specific location where the error occurred. i.e. parameter, content
The higher level location of what was trying to be accessed. i.e. pullMessages, publishMessage
The http status code
Additional details about the error