Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

'Path used multiple times' when migrating to v2 #74

@ValentinCoudert

Description

@ValentinCoudert

(Also on Stackoverflow)

Hello

I tried to follow the steps to migrate to v2 (appengine app) and faced what seems to be a bug.

I have multiple APIs under the same AppEngine service (pretty much like here), and changed my app.yaml, downloaded the cloud-endpoints library, put it in the /lib folder...

Then I pushed the code to AppEngine, using gcloud app deploy only (at this time I did not know about gcloud service-management, we were not using this before).

When trying to call one of my endpoints then, I got this error 'ApiConfigurationError: POST path "synchro" used multiple times, in classes SQL and Synchro'

That's true, but those two methods are under differents APIs so it should work (it does, in v1).

My code

@endpoints.api(name="sql", version='v1.0')
class SQL(remote.Service):
   @endpoints.method(
        CREATE_SYNCHRO,
        message_types.VoidMessage,
        path='synchro',
        http_method='POST',
        name='synchros.start'
    )

@endpoints.api(name='synchro', version='v1.0')
class Synchro(remote.Service):
    @endpoints.method(
        DayUserList,
        UserList,
        path='synchro',
        http_method='POST',
        name='synchronisation'
    )

(So migrating from v1 to v2 does not seem to be as simple as Google says... :) )

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions