GithubHelp home page GithubHelp logo

ArcRest "arcrest.agol.services.FeatureService.createReplica" works on one ArcGIS Online organization but not another about arcrest HOT 10 OPEN

asmyrk avatar asmyrk commented on August 17, 2024
ArcRest "arcrest.agol.services.FeatureService.createReplica" works on one ArcGIS Online organization but not another

from arcrest.

Comments (10)

MikeMillerGIS avatar MikeMillerGIS commented on August 17, 2024

from arcrest.

asmyrk avatar asmyrk commented on August 17, 2024

Thanks for the response Mike. I appreciate it very much. Neither organization's url is https, so I didn't try that before, but I did try now just in case, but I get the same error. On feature services... same thing. I've tried them with http and https, but the error message does not change.

from arcrest.

MikeMillerGIS avatar MikeMillerGIS commented on August 17, 2024

Did you ensure the org URL is https, not just the feature service.

from arcrest.

asmyrk avatar asmyrk commented on August 17, 2024

from arcrest.

MikeMillerGIS avatar MikeMillerGIS commented on August 17, 2024

Could you post your script?

from arcrest.

asmyrk avatar asmyrk commented on August 17, 2024

Does this work?
AGOLpics - Copy.zip

from arcrest.

MikeMillerGIS avatar MikeMillerGIS commented on August 17, 2024

from arcrest.

asmyrk avatar asmyrk commented on August 17, 2024

from arcrest.

MikeMillerGIS avatar MikeMillerGIS commented on August 17, 2024

Here is the line - https://github.com/Esri/ArcREST/blob/master/src/arcrest/security/security.py#L1112

but looking at it, it is defaulting to https. So my next guess is the user name and password is wrong. ArcRest is case sensitive for both the username and password. Log into the organization with a browser and verify the username. That produces this error. This has caught a number of people.

I would also install fiddler and monitor the calls, looking at the response can help you figure out what is going on.

from arcrest.

asmyrk avatar asmyrk commented on August 17, 2024

from arcrest.

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.