Skip to main content

Can't pass "challenge" while trying to connect webhook with Lambda

  • August 25, 2021
  • 3 replies
  • 1764 views

I receive a message from Monday : “URL don’t return solution”

I have Lambda function on Python:

def lambda_handler(event, context):
    
    body_str = event.get("body", "{}")
    body_str = body_str if body_str else "{}"
    body_obj = json.loads(body_str)
    a = body_obj.get("challenge", "")
    print({"challenge" :a})
    return {"challenge" :a}

My Cloud Logs show that what I return looks like that


And I suppose that is correct solution. At least I’ve tried everything I know.

Can you help me, maybe I returning it in a wrong way

This topic has been closed for replies.

3 replies

Forum|alt.badge.img
  • monday.com Team Member
  • August 25, 2021

Hi @Valeriia,

I see that you also emailed into appsupport@! I’m happy to continue the conversation there and provide updates once we’ve settled on a solution.

Thanks~


Forum|alt.badge.img
  • monday.com Team Member
  • August 26, 2021

For all future readers: this issue has been resolved!

The problem seems to have been an extra space " " after the challenge key, before the challenge token.


  • September 2, 2021

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.