netlify / netlify/open-api

Heisenbug: periodic error TextMarshaler error

Open
#58 22 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug go
Dominant language
Go
Stars
323
Forks
133
Avg merge
2d 8h
Merged PRs (30d)
2

Description

On creating a Netlify site with no settings site (params are empty), I'm periodically getting this:

netlify_site.test: &{0 } (*models.Error) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface

Sorry, it is in Go => string format.

This is in a loop of creating/deleting a site with no params. Seems to be about 1 in 10 chance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the netlify_site.test resource while repeatedly creating and deleting a site with empty parameters. Investigate the reported TextMarshaler/TextUnmarshaler error and verify that the loop no longer produces the intermittent failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.