oddsdk / ts-odd

An SDK for building apps with decentralized identity and storage.
https://odd.dev/
Apache License 2.0
178 stars 24 forks source link

Webnative Platform API request error #383

Closed ha6755ad closed 2 years ago

ha6755ad commented 2 years ago

Summary

All calls to wn.apps[method]() are returning error index.jss:52 POST https://runfission.com/v2/api/app 404 VM194610:1 Uncaught (in promise) SyntaxError: Unexpected token U in JSON at position 0

Problem

I have tried several import troubleshooting solutions, but import * as wn from 'webnative' > wn.apps.create() or any other method call returns the above error. I am not passing any parameters to any of these methods.

Describe the immediate problem

Impact

The impact that this bug has

Solution

Describe the sort of fix that would solve the issue

Detail

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

matheus23 commented 2 years ago

Thanks for submitting an issue @ha6755ad!

Unfortunately, I can't reproduce the issue here (at least not with version 0.31.1. I didn't have a chance to test with 0.32 or 0.33 yet, but that part of the code shouldn't have changed).

Maybe a couple of questions to get down to the root of the problem: