GithubHelp home page GithubHelp logo

Comments (8)

giacomoalonzi avatar giacomoalonzi commented on June 9, 2024

Can you check the browser console if you get ERROR 500 when you submit an action?
Screenshot 2019-08-29 at 15 06 05

from instapy-gui.

devtobi avatar devtobi commented on June 9, 2024

Yes I get a error 500 but it says:
Unhandled Promise Rejection: SyntaxError: The string did not match the expected pattern.

from instapy-gui.

giacomoalonzi avatar giacomoalonzi commented on June 9, 2024

@devtobi yes probably is a validation error. I also checked the payload via network but seems no issues. We must wait for @breuerfelix for more details :)

from instapy-gui.

breuerfelix avatar breuerfelix commented on June 9, 2024

I will try to solve this issue tomorrow :) could you give me some more details ?

it only happens when you press save ? and only for which actions ?

from instapy-gui.

giacomoalonzi avatar giacomoalonzi commented on June 9, 2024

@breuerfelix I incurred in this issue twice. The first time I solved with a new template and I had no issue till yesterday.
Yesterday I incurred again in this issue and it's happening when you try to enable/disable issue or press save. As I said seems like a validation error on the server-side.
I tried to disable an action and this is the payload

{
  "action": "update",
  "job": {
    "functionName": "set_mandatory_language",
    "namespace": "mynamespace-2",
    "active": false,
    "params": [
      {
        "name": "enabled",
        "value": true
      }
    ],
    "_id": {
      "$oid": "5d66bdf507f6a8733a728e27"
    }
  }
}

at this url https://config.instapy.io/namespaces/mynamespace-2/jobs/5d66bdf507f6a8733a728e27 get error 500.

I could help you to debug the code but I must configure locally first, dunno if I can do it today 🔥
Anyway, thank you for your time :)

from instapy-gui.

giacomoalonzi avatar giacomoalonzi commented on June 9, 2024

@breuerfelix Maybe I found the issue.
This happens when you modify the namespace in the frontend but it for some reason don't be updated at backend side.
I noticed a different namespace in the response and I tried to modify namespace as the response is, and it works again.

Hope this will help!

from instapy-gui.

breuerfelix avatar breuerfelix commented on June 9, 2024

@giacomoalonzi what do you mean with different namespace ?
usually the frontend should always updates depending on the backend (backend got higher prio) so I don't know when this could happen.

could you give me a really short step by step on how to reproduce this issue ? :) this would be amazing.

from instapy-gui.

giacomoalonzi avatar giacomoalonzi commented on June 9, 2024

@giacomoalonzi what do you mean with different namespace?
usually the frontend should always update depending on the backend (backend got higher prio) so I don't know when this could happen.

could you give me a really short step by step on how to reproduce this issue? :) this would be amazing.

Yes of course.
I incurred in this issue when I modified the name of a template (eg. mytemplate in mytemplate-2)
this for me cause the issue in fact when I renamed the template as original name (mytemplate) the server has responded with no issue.

from instapy-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.