unable to encode outgoing TypedData
See original GitHub issueResult: Failure Exception: TypeError: unable to encode outgoing TypedData: unsupported type “<class ‘azure.functions.http.HttpResponseConverter’>” for Python type “NoneType” Stack: File “/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/dispatcher.py”, line 345, in _handle__invocation_request pytype=fi.return_type.pytype) File “/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/bindings/meta.py”, line 83, in to_outgoing_proto f’unable to encode outgoing TypedData: ’
Investigative information
Please provide the following:
- Timestamp: 2020-05-21 02:32:44.974
- Function App name: XXXXXXXXX-python
- Function name(s) (as appropriate): decom_cleanup
- Core Tools version: 2.7.1846
Repro steps
Provide the steps required to reproduce the problem:
Expected behavior
Provide a description of the expected behavior.
Actual behavior
Provide a description of the actual behavior observed.
Known workarounds
Provide a description of any known workarounds.
Contents of the requirements.txt file:
Provide the requirements.txt file to help us find out module related issues.
Related information
Provide any related information
- Links to source
- Bindings used
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
unable to encode outgoing TypedData: unsupported type ...
i'm trying to upload the file that i have accessed to, via SAS key, and i have cleaned to azure Blob Storage. as...
Read more >azure.functions.http.HttpResponseConverter class
azure.functions.http.HttpRequest class. An HTTP request object. azure.functions.InputStream class. File-like object representing an input blob.
Read more >AMQP 1.0 Message Encoding - using AMQP typed data vs ...
The content type is designed for the case where the data being > > transferred is not encoded in the AMQP type system,...
Read more >Basic Options for Azure Functions - Sentry Documentation
An optional property that controls which downstream services receive tracing data, in the form of a sentry-trace and a baggage header attached to...
Read more >Metadata API Developer Guide
Base-64 encoding increases the size of the payload, so your compressed payload can't exceed approximately 39 MB before encoding.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @szaher,
Please fill in the template before raising an issue in the future. This helps us to narrow down the issue and diagnose your problem more quickly.
As for HTTP trigger, the function annotation indicate that you need to return an HttpResponse object instead of a None. If you expect your http client receive no content, you should use
return func.HttpResponse("", status_code=200)
instead.I figured that out months ago lol
On Wed, Dec 14, 2022 at 9:15 AM Feuerstein @.***> wrote:
– Thanks!, Will