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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c323bd17-909f-37f8-2eba-c9dfeabaa5e7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C340:C8498:358D7E4:4B27727:69711973 |
| html-safe-nonce | 92b0b6df6b05d53c619387800606555684a2da7fe55353fe3f0c10d92d1b3429 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzQwOkM4NDk4OjM1OEQ3RTQ6NEIyNzcyNzo2OTcxMTk3MyIsInZpc2l0b3JfaWQiOiI0MTk1ODE0OTExMTM0MjEwNDE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 465f1ea4ab7c9da43a55a323f5fcd81319a4a13d91df73d40a81fc61da66ebcb |
| hovercard-subject-tag | pull_request:3000213017 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/files |
| 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 | 73ca43ac10b0f114fadc2d2cf702bc0c6453174aa5f9dad3a1d131b428870c6d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c16e50bde10edd19f5772e9b3804df6d7bf9bfe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width