Skip to content

emulator raises "GET" ... "Invalid request, unable to process." on first function call #130

Closed
@ekalosak

Description

@ekalosak

This error pops up every time I call a function after starting the emulators.

... [call stack omitted]                                                                                                     
>  Message: 'Request has invalid method.'                                               
>  Arguments: ('GET',)                                                                                                                                                          
>  ERROR:root:Invalid request, unable to process.

I'm using an @https_fn.on_call and calling it with curl -X POST so the GET in there is a bit confusing. Moreover, this just shows up - it doesn't degrade functionality much aside from potentially delaying the cold-start.

The functions work just fine... but this long stack trace on a cold-start is troubling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions