Skip to content

The request include parameter that is not valid for this queue type. #1562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
maathor opened this issue Dec 27, 2021 · 4 comments
Closed

The request include parameter that is not valid for this queue type. #1562

maathor opened this issue Dec 27, 2021 · 4 comments

Comments

@maathor
Copy link

maathor commented Dec 27, 2021

Hi,
I'm trying to implement this current stack. Into the application log (into github > app > advance I retrieve my attempts)
They are all failing with :
{"message":"Internal Server Error"}

From cloudwatch, the webhook lambda I get:

    "message": "Value 4643128775 for parameter MessageGroupId is invalid. Reason: The request include parameter that is not valid for this queue type.",
    "code": "InvalidParameterValue",
    "name": "InvalidParameterValue"

I used the ubuntu example with the lastest lambdas version (v0.27.2).
From the app configuration side I set:

- Repository:
   Actions: Read-only (check for queued jobs)
   Checks: Read-only (receive events for new builds)
   Metadata: Read-only (default/required)
   Administration: Read & write (to register runner)

- Organization
     Self-hosted runners: Read & write (to register runner)

- In the "Permissions & Events" section and then "Subscribe to Events"
subsection, check "Workflow job"

I didn't any message into my SQS queue due to this failing webhook lambda.

@npalm
Copy link
Member

npalm commented Dec 28, 2021

Looks like the the webhook lambda is including MessageGroupId in the SQS message. This value is only valid vor an FIFO queue. Can you check what type of queue is created?

@maathor
Copy link
Author

maathor commented Dec 28, 2021

a standard one, yes, you're right ! seems legit !

@npalm
Copy link
Member

npalm commented Dec 28, 2021

The variable sqs_build_queue_fifo should match the queue type. This variable is passed as input to the webhook lamda. You can check in the configuration tab in AWS lambda / webhook what value is used.

@maathor
Copy link
Author

maathor commented Dec 29, 2021

yes, thank you so much. it works like a charm now !

@maathor maathor closed this as completed Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants