Comments (14)
@nkumar-topcoder, please sign-up with Topcoder X toolThis is an automated message for veshu via Topcoder X
from taas-apis.
@nkumar-topcoder, please sign-up with Topcoder X toolThis is an automated message for veshu via Topcoder X
from taas-apis.
@nkumar-topcoder, please sign-up with Topcoder X toolThis is an automated message for veshu via Topcoder X
from taas-apis.
@nkumar-topcoder, please sign-up with Topcoder X toolThis is an automated message for veshu via Topcoder X
from taas-apis.
Contest https://www.topcoder.com/challenges/30155268 has been created for this ticket.This is an automated message for veshu via Topcoder X
from taas-apis.
Contest https://www.topcoder.com/challenges/30155268 has been updated - it has been assigned to aaron2017.This is an automated message for veshu via Topcoder X
from taas-apis.
Fixed with PR #21
from taas-apis.
PR #25 updates swagger doc.
from taas-apis.
-
I am posting as tc member for job candidates. Note that this member is already v5/users. Ideally Jobcandidate POSTING Should not be allowed for tc member. In this case - message should display as “ not allowed or authorised” But message “conflict” is coming.
-
the log shows that, it’s POST v5/users, not sure why is it posting again ?
a) My guess its trying to recreate a same user handle and getting conflict ?
b) When creating JOB also it’s happening. This could be we validate for v5/skills and tc-member doesn’t have u-bann role ? (Note : we are discussing to enable v5/skills search for all members from u-bann side)
Can you please check.
Note : It’s happening for role tc member only, if booking manager role. Then it’s fine.
from taas-apis.
-
currently POST /jobCandidates can be accessed by all TC members as the source code suggests, see https://github.com/topcoder-platform/taas-apis/blob/feature/integration-test-fix/src/services/JobCandidateService.js#L56-L65
We could apply access rules on the operation if you think it is needed.
-
This could be we validate for v5/skills and tc-member doesn’t have u-bann role ? (Note : we are discussing to enable v5/skills search for all members from u-bann side)
I don't think so. When we validate for v5/skills, we are using ubahn M2M token rather than the user token from the POST /jobs request, so there is no needs to enable v5/skills search for all members.
-
I believe both conflict errors were caused by the getUserId function. Will look deep into that and get back to you later.
from taas-apis.
- you are right, any tc member can post for a job. Functionality wise this is right. no changes needed.
- agreed.
- ok fine, thank you.
from taas-apis.
My guess its trying to recreate a same user handle and getting conflict ?
Your guess is right.
It is possible the handle stored in your token was already used to create an ubahn user and associated with an userId other than the userId stored in your token.
So when the getUserId function tried to use the userId stored in your token to find an existing ubahn user, it got no record. It then attempted to create new ubahn user with the handle stored in your token, unsurprisingly, ending up conflict error.
Currently the data on Topcoder Dev are not reliable and stable, IMO. To avoid the conflict error, I would
suggest create a new tc member account with different username so you won't be messed up with any existing data.
Edit
Alternatively, You could find the conflicting ubhan user and correct its associated v3 userId(the externalId property) with the one in your user token.
from taas-apis.
The fix for the issue in this ticket works good.
To track and discuss more the issue with conflict
error during user ubahn creating I've created a separate issue #46
from taas-apis.
Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30155268This is an automated message for maxceem via Topcoder X
from taas-apis.
Related Issues (20)
- [$100] Some notifications are not received HOT 33
- [$50] Replace webhook which listens to created events HOT 4
- Interview Improvements - Summary
- [$75] Fix updating interview method on webhooks HOT 14
- [$75] Use `metadata` to identify Nylas update events instead of parsing `description` HOT 2
- Issue when connecting Google/Microsoft calendar and then removing it HOT 12
- Interview scheduled email is not sent
- [$50] Add authentication for a new Nylas Page webhook. HOT 5
- [$80] Send interview "canceled" and interview "rescheduled" email notifications HOT 12
- [$30] Use existent env variable during DB migration HOT 5
- Some interviews are stuck in scheduling, therefore unable to cancel/reschedule them HOT 3
- Attendees are not listed in the Interview reminder(customer), Interview complete(customer) and Reminder: Take action to reserve your talent(customer) emails HOT 2
- [$40] The meeting link sent to the JC in the 'Reminder: Interview coming up' email says 'You do not have permissions to perform this action' HOT 14
- Add a new `Did not Post` rcrmStatus to the taas-api HOT 1
- Migration Open Jobs which are only present on Gigs Listing MFE
- The email notification 'before 1 hour of interview time' and the 'Post Interview Action Reminder' notification are not received HOT 1
- [Prod] Interview confirmation email notification is not sent sporadically HOT 4
- Download resume email was not received HOT 2
- Cancel interview doesn't work - Interview is not getting canceled and no emails sent HOT 3
- Internal server error while trying to schedule an interview
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taas-apis.