Title: Fix: solved "Owned media must be a url or base64" error when sending base64 files by isthevao · Pull Request #12 · EvolutionAPI/evolution-client-python · GitHub
Open Graph Title: Fix: solved "Owned media must be a url or base64" error when sending base64 files by isthevao · Pull Request #12 · EvolutionAPI/evolution-client-python
X Title: Fix: solved "Owned media must be a url or base64" error when sending base64 files by isthevao · Pull Request #12 · EvolutionAPI/evolution-client-python
Description: I was getting this error when trying to send a base64 file: {'status': 400, 'error': 'Bad Request', 'response': {'message': ['Owned media must be a url or base64']}} This fix adjusts the payload, allowing base64 media to be sent correctly. Summary by Sourcery Bug Fixes: Add 'media' field to the multipart form payload to support base64 media in send_media
Open Graph Description: I was getting this error when trying to send a base64 file: {'status': 400, 'error': 'Bad Request', 'response': {'message': ['Owned media must be a url o...
X Description: I was getting this error when trying to send a base64 file: {'status': 400, 'error': 'Bad Request', 'response': {'message&...
Opengraph URL: https://github.com/EvolutionAPI/evolution-client-python/pull/12
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:fc623b98-6334-8ddf-1e96-20345f7ed2bd |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BA84:21345:74D412:9AB84E:69701668 |
| html-safe-nonce | 9cb54a2109dc390f964cf22c79cbb7c94eb70dad3a401b64401bf997b7e9c0fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTg0OjIxMzQ1Ojc0RDQxMjo5QUI4NEU6Njk3MDE2NjgiLCJ2aXNpdG9yX2lkIjoiNTgzNjk5NTgzMTMyMjkwODI2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 29f48160a16a9b5ebcd3de49c397c56cb2cf3f2cf1a74be42ae802d9b4d328bf |
| hovercard-subject-tag | pull_request:3000213017 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/EvolutionAPI/evolution-client-python/pull/12/checks |
| twitter:image | https://avatars.githubusercontent.com/u/32079500?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/32079500?s=400&v=4 |
| og:image:alt | I was getting this error when trying to send a base64 file: {'status': 400, 'error': 'Bad Request', 'response': {'message': ['Owned media must be a url o... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043a09521e81f00c45482046b3f38390b8b292cf9a86ad665a632633a072c05c |
| turbo-cache-control | no-preview |
| go-import | github.com/EvolutionAPI/evolution-client-python git https://github.com/EvolutionAPI/evolution-client-python.git |
| octolytics-dimension-user_id | 136080052 |
| octolytics-dimension-user_login | EvolutionAPI |
| octolytics-dimension-repository_id | 880874407 |
| octolytics-dimension-repository_nwo | EvolutionAPI/evolution-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 880874407 |
| octolytics-dimension-repository_network_root_nwo | EvolutionAPI/evolution-client-python |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 98881eadf8ae73000970c42161c094b0809b1330 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width