Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(UndefinedFunctionError) function Poison.encode_to_iodata!/1 is undefined or private #3414

Closed
Adzz opened this issue Jan 7, 2020 · 2 comments
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@Adzz
Copy link

Adzz commented Jan 7, 2020

Since upgrading our google elixir libraries (google_api_cloud_tasks, google_api_big_query) all tests fail as (I think hard to tell from the commits?) Poison has been upgraded to version 4, meaning the function Poison.encode_to_iodata!/1 no longer exists.

See the Poison issue here: devinus/poison#172

@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Jan 8, 2020
@dazuma dazuma added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. and removed 🚨 This issue needs some love. triage me I really want to be triaged. labels Jan 13, 2020
@dazuma
Copy link
Member

dazuma commented Jan 13, 2020

Try pinning Poison to version 3 explicitly in your mix.exs. The libraries should be compatible with either version of Poison.

@dazuma
Copy link
Member

dazuma commented Apr 13, 2020

Closing this, assuming the above comment resolved the issue. Feel free to reopen if it is still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

3 participants