93,127 questions
0
votes
0
answers
66
views
Unable to use the Alexa REST API to update the "datastore" for an Alexa Widget
I have written a simple Alexa skill which works and I've now added a Widget, these both display as expected.
I am now trying to use the datastore but every time I try to update the store, I am getting ...
-3
votes
0
answers
65
views
FastAPI Performance Enhancement with Snowflake [closed]
I am developing a FastAPI application which will be deployed on EKS.
Purpose of this application: the API should get input in the requests, application will extract the filter and sort and pagination ...
-2
votes
0
answers
32
views
Persistent 404 Not Found on fileStores Endpoint for Gemini File Search Tool (Project ID: gen-lang-client-0476106342) [closed]
I am attempting to set up the Gemini API File Search Tool (Managed RAG) via a POST request to create a FileStore. I am running into a persistent 404 Not Found error, despite confirming billing is ...
-4
votes
0
answers
19
views
Link zkteco devices to Spring boot backend [closed]
I want to ask a question about zkteco devices
I develop a gym management app with react and Spring boot , the last point is to make the zkteco devices ask for action from the backend
Now i develop a ...
Best practices
0
votes
1
replies
23
views
Server to Client under multipart/form-data
Given some object:
class Foo {
metadata_field1: ...,
metadata_field2: ...,
file: Blob
}
Let's also consider definitions where Foo has multiple Blob attributes, or an array of Blobs, or even ...
Best practices
0
votes
2
replies
37
views
Is it normal to send a JSON response with a list of objects where the properties of the objects differ based on their type?
My client has requested that I provide a response from my API that looks like the following:
{
"entity_type": "company",
"registered_date": "2020-01-01",...
Best practices
0
votes
2
replies
34
views
Is defining the same endpoints for web browser and m2m is bad practice? Why?
I am working on a project which has 2 types of communication. First, via the web browser through React. The second is M2M communication. I have 2 security filter chains for each.
I have secured the ...
0
votes
0
answers
38
views
ServiceNow REST API: 403 “Forbidden” when accessing sys_script table using custom role (works with admin)
I’m trying to access the sys_script table through the ServiceNow Table API using a custom role, but I always get:
HTTP 403 Forbidden
Field(s) present in the query do not have permission to be read
The ...
0
votes
1
answer
58
views
How can I add API common prefix for controllers
I want to add an API common prefix for all controllers, e.g. /api/v1. I am using inversify with the @inversify/http-express package.
Here is my current base server adapter setup:
class Server {
...
Best practices
0
votes
1
replies
61
views
What is the best implementation for probably a simple idea I have?
Here's what I want to do: I want to store files onto my office's computer.
I lack experience in terms of completed solutions. I’ve only built a prototype once via ChatGPT, and I want to ask if this is ...
Best practices
0
votes
0
replies
35
views
Why prefer webhooks to CDC?
QuickBooks Online's API documentation includes a recommendation that users use webhooks instead of change-data-capture to synchronize their entity records with QuickBooks's. Why are webhooks ...
1
vote
1
answer
85
views
Downloading a large file in spring MVC through Web client
I'm trying to download a large file with with Spring web client without loading an entire file to the memory. I have such service method:
@Override
public StreamingResponseBody download() {
Flux&...
1
vote
1
answer
86
views
Java Springboot API endpoint overload
I'm making a banking application where a user can create a bank account, this account can be a savings account with a monthly income or a current account with a monthly upkeep, the classes of both ...
Best practices
1
vote
3
replies
44
views
Athena health api documents
I’m trying to build an application that can download patient documents from Athenahealth, but I can’t figure out whether this is actually supported. The official API documentation is extremely limited ...
Best practices
0
votes
3
replies
52
views
How should I structure NestJS services when one endpoint needs to update multiple entities (e.g., InvestorProfile and TaxProfile)?
I’m working on a NestJS + TypeORM backend and ran into an architectural question as my codebase evolved.
Initially, I had a simple setup:
InvestorProfileController handles PATCH /investor-profile
...
-3
votes
1
answer
68
views
Need help in setting assignee to tickets created in Jira using Python script [closed]
I'm automating some ticket creations in Jira. It's working fine for the most part, but its not being assigned to the correct user. All the tickets created get created with "unassigned" as ...
Advice
0
votes
2
replies
46
views
Helidon MP: how to cancel an expensive computation in a REST service on client disconnect?
We have some expensive REST services implemented in Helidon MP 4 that often take one minute until they are finished and the response is returned. It happens quite often that the client disconnects ...
Advice
1
vote
0
replies
42
views
Bloomberg API Integration
I run a service whereby I distribute market data to our investment team daily. I open my Bloomberg Terminal, then update the formulas within a service someone else setup. Once the data is updated I ...
0
votes
0
answers
89
views
Document AI importDocument returns error code 13 when using REST API
I’m currently having an issue with my code — I’m using the REST API to train a Document AI model with the custom extraction type.
I have already completed the following steps:
Called the v1 process ...
1
vote
1
answer
69
views
query an array to a R {plumber2} API
The {plumber2} R package recently got released and I'm trying to understand how to leverage an API.
This basic example below works as long as I'm passing only one string without comma in my query.
#* ...
-3
votes
2
answers
101
views
Problem Getting Paging Info from Jira API [closed]
I've got a C# program that uses the Jira API. I'm encountering a new problem where I'm trying to GET newly created Jira issues from the past month, but the JSON response from the API isn't giving me ...
3
votes
1
answer
109
views
Rails8/Devise custom action found in routes, but 404 when called
I'm extending the Devise invitations controller to lookup the email of the invitee to pre-populate the registration form. I'm getting an error:
#<AbstractController::ActionNotFound: "Could not ...
Tooling
0
votes
0
replies
23
views
Alpha Vantage with ticket with point is not working
I'm trying to use Alpha Vantage RapidApi with stocks from Spain and it's not working for me. The tickers with a point in them are not working.
For instance, for stocks of Santander I can use without ...
Best practices
1
vote
1
replies
110
views
Converting older JavaScript Classes to TypeScript
I am currently converting an older JavaScript app to TypeScript and not sure of the best way to proceed.
There is a backend Rest API that looks like this:
[
{"first_name": "John&...
2
votes
1
answer
106
views
How to access Planner Premium data (Dependencies, Resources, Dates, Custom Fields) using Microsoft Graph API or any REST API?
I’m working with Microsoft Planner Premium (the new unified Planner experience) and need to access project data through an API.
I’m trying to get details such as:
Task dependencies (Depends on, ...
0
votes
1
answer
61
views
strapi filter by related users in strapi in many to many relationship
const projects = await strapi.entityService.findMany('api::project.project', {
filters: { users: { id: { $eq: userId } } },
populate: ['tenant', 'users'],
});
the above code is ...
0
votes
0
answers
51
views
With apache hop, retreive all row of a rest api
I'm new to apache HOP. I try to make a workflow to retreive all rows returned by a Rest Client component. I try to figure out how to implement the hasmore, offset and limit together using a repeat ...
1
vote
1
answer
77
views
Azure Document Intelligence API Not Returning Query Fields When Using Layout Model
I am trying to query a PDF document field using Azure Document Intelligence with the Layout Model. Initially, I tested it in the Document Intelligence Studio by uploading the file and adding the query:...
0
votes
0
answers
55
views
google sheets API only returning single chart
I have a little program that is supposed to return all of the charts in a Google Sheets document. The program is as follows:
from google.oauth2.credentials import Credentials
from ...
0
votes
1
answer
67
views
How to Update status of the recipient of Docusign Envelop via REST API
I want to update the status of a recipient in a DocuSign envelope via the REST API.
I used the following API call to retrieve recipient data:
{{baseUrl}}/{{apiVersion}}/accounts/{{accountId}}/...
0
votes
1
answer
38
views
Microsoft Graph scopes are not showing up in the access token my API receives
We have a SPA with an associated API back end. The user is authenticating fine against Azure Entra, and I can access the API as well. This is an internal app, and I want to know more about the user. ...
1
vote
0
answers
50
views
Epicor Kinetic REST (v2 OData): How do I get DiscountPercent for a Part when the discount comes from a Price List Group (not the part row)?
Environment
Epicor Kinetic (on-prem)
REST v2 / OData
Company: MTS, Plant/Warehouse context: MTS-Main
Auth via X-API-Key; I also send CallSettings: {"Company":"MTS","Plant"...
0
votes
1
answer
28
views
Allowing a filter query in a PUT endpoint that updates a set
I'm designing a REST API that provides an integration layer to an underlying system I have no control over.
Without going in to detail, in this system, there are products with default prices. A custom ...
-1
votes
3
answers
85
views
What is the correct HTTP status code when the authenticated user’s record is missing in the database (e.g., /user-info endpoint)? [duplicate]
I’m designing a RESTful API endpoint like this:
resource function get user-info(http:RequestContext ctx)
returns database:UserInfo|http:InternalServerError|http:NotFound {
authorization:...
0
votes
0
answers
26
views
Graphql Mesh - How to store to DB rather physical location
By using Graphql Mesh I am able to convert soap, rest, rpc into graphql queries/schemas but it is storing everything in yml file and schema files.
If I have 500 sources, saving all sources into yml ...
1
vote
0
answers
53
views
How to make Microcks access my application during Quarkus integration tests
I developed a REST API Quarkus project based on an OpenAPI specification to validate contract testing with Microcks.
OpenAPI Specification
openapi: 3.0.0
x-stoplight:
id: 1q8257l49074g
info:
title:...
0
votes
1
answer
96
views
JAX-RS REST API returns 200 OK immediately, but JSON body arrives delayed only on my computer
I have a JAX-RS REST API that gets live images from a camera.
The camera returns a multipart response (XML + JPEG), which I parse in the service and then return as JSON in the response.
Problem:
When ...
0
votes
1
answer
63
views
Submitted an API request, poll for job status updates then observed an issue where the job status never updates from "pending"
I'm working with an API that uses OAuth-based authentication, accepts dynamic JSON payloads, and processes requests asynchronously. After submitting a request, I poll for job status updates. However, ...
0
votes
0
answers
39
views
Uncaught Error: [$injector:modulerr] received while attempting to run angular app
I receive the following error "Uncaught Error: [$injector:modulerr]" while running the following app. The code is designed to submit the data received to a SharePoint list when the submit ...
0
votes
0
answers
59
views
Why is my Intacct PO Forward Commitment update (PATCH) not applying changes even though the API response shows no error?
I’m trying to update a Forward Commitment PO in Intacct using the PATCH method. The API call succeeds without errors, but the changes are not reflected in the document.
Note: Only Unit price is not ...
1
vote
1
answer
72
views
Gunicorn with worker 1 not able to call local API
I have flask app, which we are running using gunicorn.
App structure.
% tree your_flask_app
your_flask_app
├── __init__.py
├── app.py
└── routes
├── __init__.py
├── data.py
└── shared.py
...
1
vote
0
answers
44
views
Generating End of Day Forms using the Amazon SP-API
We are trying to automate the generation of a USPS Scan Sheet which is found in the End of Day forms in Seller Central. Does anyone know if this is possible? I have not been successful in locating ...
0
votes
0
answers
48
views
How to retrieve all permission details including resources, policies, and scopes from Keycloak?
I'm working with Keycloak and trying to fetch all permission details for a client, including the associated resources, policies, and scopes.
So far, the only API I found is the following:
const ...
0
votes
0
answers
17
views
I am looking to create an automated export from our MIS - LabelTraxx
We use an MIS called LabelTraxx. Our company manufacturers labels and has 5 production lines. The operator for each production line will key in the details of their job, as well as their production ...
0
votes
1
answer
195
views
How to fix a 401 (Unauthorized) error from Fabric REST API?
Question: How do I troubleshoot a 401 (Unauthorized) error from Fabric REST API?
I have an App Registration that that uses a secret to authenticate with Fabric and I am able to issue REST API calls ...
-1
votes
1
answer
65
views
Data from html disappears and doesn't not post using rest api call. When submit button is selected the form clears and data is not submitted
I have a basic HTML form that submits data to a SharePoint list. There are no errors in the code, nor do I receive anything that would cause the form not to submit to the SharePoint list. I am using ...
1
vote
1
answer
30
views
Autodesk Data Management API - Folder Contents Project ID error for ACC projects
When I test my code with a BIM360 project, I am able to get the BIM360 folder contents:
https://developer.api.autodesk.com/data/v1/projects/b.39cc5e50-e634-44ab-905b-0a2fab5299c9/folders/urn:adsk....
1
vote
0
answers
58
views
How do I fetch ACF custom fields via REST API in a custom WordPress theme?
I am building a custom WordPress theme and using Advanced Custom Fields (ACF) to manage dynamic content. I want to fetch and display ACF fields via the REST API, but I’m not getting the expected data ...
1
vote
0
answers
82
views
How to create a folder in Fabric Lakehouse /Files via OneLake API (400 Bad Request / IncomingOperationUntrusted)?
I’m trying to create subfolders under /Files in a Fabric Lakehouse using the OneLake API.
According to the Microsoft docs, this should work with:
PUT https://onelake.dfs.fabric.microsoft.com/...
2
votes
0
answers
110
views
Interface without Jakarta Validation annotation for validation in implementation class
I want to create a REST API in which I use Jakarta Validation constraint annotations such as @NotNull, @Valid, @Max...
But I want to define the methods for the controller in an interface as follows:
...