René's URL Explorer Experiment


Title: fix(agiloft): repoint the block at the alrest surface and fix EWLogin by waleedlatif1 · Pull Request #6562 · simstudioai/sim · GitHub

Open Graph Title: fix(agiloft): repoint the block at the alrest surface and fix EWLogin by waleedlatif1 · Pull Request #6562 · simstudioai/sim

X Title: fix(agiloft): repoint the block at the alrest surface and fix EWLogin by waleedlatif1 · Pull Request #6562 · simstudioai/sim

Description: Summary Customer report: the native Agiloft block cannot authenticate against any instance. Production traces for their workspace confirm every failure mode verbatim, so this is fixed against real evidence rather than inference. EWLogin was missing required parameters. It sent $KB/$login/$password as query params; the live server answers 400 EWWrongDataException ... One has to specify $table, $KB, $lang parameters. $table is required even though only $KB/$login/$password/$lang are documented. Parameters now go in a form-encoded body — Agiloft's docs allow it, and it keeps the password out of URLs and access logs. Wrong API surface. Because login always failed, no data call was ever reached, which hid that record operations were pointed at a surface that cannot use the token EWLogin issues. /ewws/EW* authenticates from inline $login/$password and rejects a bearer token; /ewws/alrest/{KB} accepts it. Create, read, update, delete, search, and attachment retrieval now go through alrest. success: false on HTTP 200. alrest reports failures with a 200 and {"success": false, "errors":[...]}. readAlrestJson is now the only sanctioned reader; checking response.ok alone turned refusals into successful empty results. Auth scheme trailing space. Agiloft returns "authentication_scheme": "Bearer ". It's read from the response and trimmed rather than hardcoded or concatenated blind. Optional inputs rejecting null. A blank Page field resolved to null and failed validation with expected string, received null before any HTTP call. Optional string params now accept null. 184KB records. Reads with a named field list go through the search projection, the only route that accepts a field array. Operations with no documented alrest equivalent (select, attachment info/attach/remove, lock, choice-line-id, action button) stay on /ewws/EW* but now authenticate inline instead of sending a token that surface rejects. Type of Change Bug fix Testing 39 unit tests. Each fix was reverted once to confirm its assertions go red. type-check, lint, tool-metadata:check, integration-catalog:check, check:api-validation all pass. Evidence base: production trace spans for the reporting workspace contain both the verbatim login refusal and a working customer-built tool using the alrest recipe, which is what the alrest paths and envelope handling are modelled on. Not verified against a live instance. The EW*-only operations listed above are the weakest part — inline-credential auth there is documented but untested, and their alrest equivalents are unknown. Worth a smoke test against a real KB before relying on them. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Customer report: the native Agiloft block cannot authenticate against any instance. Production traces for their workspace confirm every failure mode verbatim, so this is fixed against real ...

X Description: Summary Customer report: the native Agiloft block cannot authenticate against any instance. Production traces for their workspace confirm every failure mode verbatim, so this is fixed against real ...

Opengraph URL: https://github.com/simstudioai/sim/pull/6562

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:eeb898bb-10ec-bccd-aec5-62aec613ab23
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAF7C:3ED756:207EB2:2D5981:6AFB50B2
html-safe-nonce218fd9861d05a763851c419f78749a384dc2c4fe5932228c2675f1d39815c62c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjdDOjNFRDc1NjoyMDdFQjI6MkQ1OTgxOjZBRkI1MEIyIiwidmlzaXRvcl9pZCI6IjUwNzI2MDMxODMzNDUzNzkwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfcca86a19a6678d5e1ca9043130e0dd17cde404d50bd035d8b73a4a490c068c5
hovercard-subject-tagpull_request:4257172801
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6562/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Customer report: the native Agiloft block cannot authenticate against any instance. Production traces for their workspace confirm every failure mode verbatim, so this is fixed against real ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6562/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6562%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6562%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6562/files
Reloadhttps://github.com/simstudioai/sim/pull/6562/files
Reloadhttps://github.com/simstudioai/sim/pull/6562/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
fix/agiloft-alrest-authhttps://github.com/simstudioai/sim/tree/fix/agiloft-alrest-auth
Conversation 45 https://github.com/simstudioai/sim/pull/6562
Commits 3 https://github.com/simstudioai/sim/pull/6562/commits
Checks 30 https://github.com/simstudioai/sim/pull/6562/checks
Files changed https://github.com/simstudioai/sim/pull/6562/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6562/files
fix(agiloft): repoint the block at the alrest surface and fix EWLogin https://github.com/simstudioai/sim/pull/6562/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/6562/files
a776182 fix(agiloft): make the block work, and align it with the REST documen… waleedlatif1 Aug 11, 2026 https://github.com/simstudioai/sim/pull/6562/commits/a77618212eab0fb132778ddeb0d0404875cd5a0a
be5d283 fix(agiloft): give natural language search a sentence that paints waleedlatif1 Aug 11, 2026 https://github.com/simstudioai/sim/pull/6562/commits/be5d2830eda17bb9cf0ce6808f99b6e937f6b01f
0aba13d fix(agiloft): stop retrying refusals, and expose the outputs the new … waleedlatif1 Aug 11, 2026 https://github.com/simstudioai/sim/pull/6562/commits/0aba13d76deed103db6ff4c6bd87ae2ccbb57736
Clear filters https://github.com/simstudioai/sim/pull/6562/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6562/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6562/files
SPEC.md https://github.com/simstudioai/sim/pull/6562/files#diff-1cc9a3a41451f34bd0be9981e70d8e04bca0b2c22ed9c6f641a0f8ffc9616cbe
agiloft.mdx https://github.com/simstudioai/sim/pull/6562/files#diff-cf131ac4ef41637c82d6de467c1cd30e1e4c299b336b9225400aac7d2ff94fe8
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-a2b81ac597601c6d6a1f3205d32bceed6db10b3aaa42f45a2ff3d424db9d9e88
route.test.ts https://github.com/simstudioai/sim/pull/6562/files#diff-deeaf3640f217f8dd02f81bb83519d23c1168e705272da558aedb43efb9c20d3
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-7c23babff2ac4eb73a0dd1c89091326701fe4fb1d0f6da081bc67386aeb7eec6
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-9da987286be65193dbf938fb9add369aa7bc6ad454fb3c7ff62425076ba7b63d
route.test.ts https://github.com/simstudioai/sim/pull/6562/files#diff-717cdd5f621e16cebec6d386c68a871454e66bf0d0b91317862aa31cf249698b
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-470db933e75ce3a6ddeb27c3f0d580248ea745843d23cf47d6936d701ca44f8f
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-8288b8a265d3d9b9725dc452074ccd7a8aeae6393c77fdc9326fa5c7564ff240
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-6608f94eb6dee98c975a24f222d53e34ad3b5ca0753f48962939281d4194700d
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-eb6d57d4e1760aecb9ac9519d23d2a10bf44bcf308db2ed5e715cd5a1e37eea2
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-2ca70643c9a8473b924136103e168ed114c2442c530ee55e0757a4b54bf882ae
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-05cea7a7fa636c6699052f5469b30adc83f552ffec546e6887fe1ff093753c58
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-88e806a7a98780f4e7a4d9f1c984aa82b77e2c059d88e4832aea56cdcf582b14
route.test.ts https://github.com/simstudioai/sim/pull/6562/files#diff-3b1b6de05f8ae5e56e54d667da838a7194723efcc409128b1d99c1f35376189c
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-a88b08c4a08cf5c8e692b68d516c4633ca2f46253739e4acebedc35d2629eb0c
route.test.ts https://github.com/simstudioai/sim/pull/6562/files#diff-c97022e0faf6988829440b77efff2b483430011d1263e69453486949e50b3ebf
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-53e27f9e1361ba22f18fe22e89d21e3b51880fd7bb1bac3a7d0b2327f1c441da
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-894798e4fb65c5a92ca1ff26e8749c3fc9475be9e1b11981b5989b586bd53182
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-20d7149557e9a5d5c940f85bbe6eabf81c15baf76f1f3eaafe8eba2d1a26dee7
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-eb485ada23c3d09748a0bfb154101ce782531b25bcc347008402bc4e533e1bb8
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-8471111231e18f9a88cee2e5c55ac4d559d1ef2f3d715abeca8d60b93326b766
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-f367d0d640aa612d5bc4d9c9964fc284677bb0ccbfdf114f61e867e133f68233
route.ts https://github.com/simstudioai/sim/pull/6562/files#diff-cddd49a08c5ac699160db591a63d9a43c66a48d89761c16aba3b1f5c0cc6d72f
agiloft.ts https://github.com/simstudioai/sim/pull/6562/files#diff-1edb07ca8beada9e9e8e78b36a0e4b2de389aa0674c0692198a0a9acfe14fb85
agiloft.ts https://github.com/simstudioai/sim/pull/6562/files#diff-b55f9dd9c914599e1384c972707b812e1d5eba53d54ba1859b71c3b000b621ac
integrations.json https://github.com/simstudioai/sim/pull/6562/files#diff-0c4cc916562765dac61bd44d1b984d95e44d7901c070e0a3f668474c684d92bd
async_status.ts https://github.com/simstudioai/sim/pull/6562/files#diff-005b58062708caf14c7303f8f662ca78b8dbaa55d36d5d429f742ac8d19e21fe
attach_file.ts https://github.com/simstudioai/sim/pull/6562/files#diff-fbbd3c0ecd6e1b267c40050872d546c6b10ba9c307b3d894fbb619e8dacc190b
delete_record.ts https://github.com/simstudioai/sim/pull/6562/files#diff-a51c936c7a545afe37f0382bc5154be90a468c93ce6c1cfd2d6fb413dccf3f1f
ewrest.test.ts https://github.com/simstudioai/sim/pull/6562/files#diff-75f1cbee390915f70c1e64f5c93269a39bd97a03d00e0b6862cce11b380d4e70
ewrest.ts https://github.com/simstudioai/sim/pull/6562/files#diff-39af29dc143fe2f23ae2e0835b863e778521bd80bfc2eceb11c488d01b03cf9d
index.ts https://github.com/simstudioai/sim/pull/6562/files#diff-cfa5a304ec1d80e61d2724e624f7d60461a33108e40f94d295a934ee55cd8175
list_tables.ts https://github.com/simstudioai/sim/pull/6562/files#diff-fb0a41c5a6f5f592ced913520c0857e09a850bde70569238dbd1de7813060a6e
lock_record.ts https://github.com/simstudioai/sim/pull/6562/files#diff-e4de62612604a91cbb013781ce0da184d7e81ea8e4f6149c660054335b46ec3f
nlp_search.ts https://github.com/simstudioai/sim/pull/6562/files#diff-1057a3801f30f401b25779c970ed02052436c3fa9ff5a491f2922e0d4db2f70b
run_action_button.ts https://github.com/simstudioai/sim/pull/6562/files#diff-50ab11c9cea56a5b5b518361020dd9eea57fdf93c6579cd318069961ff52344c
saved_search.test.ts https://github.com/simstudioai/sim/pull/6562/files#diff-8afc504444f8772fb00ed60607ece90f16277e83b5b4a54776e4fb7013909435
saved_search.ts https://github.com/simstudioai/sim/pull/6562/files#diff-c5b3a0aa3516a12fb8c7ea7c1bf31a4798be2df5deb5cbcdba7278e382d05d01
search_records.ts https://github.com/simstudioai/sim/pull/6562/files#diff-0b1a704aaa8b57030853697546cfe1654270a8b6b855388c5540ba5d7128e167
select_records.ts https://github.com/simstudioai/sim/pull/6562/files#diff-28adc1d30f1cf437e4ffa04e36970c8540b6b0af4e338fc12e30f85b7945fb0e
types.ts https://github.com/simstudioai/sim/pull/6562/files#diff-2d767084c7da420a99ad09e0f3c7948f8df4b553af53624deb63324dc9755308
upsert_record.ts https://github.com/simstudioai/sim/pull/6562/files#diff-47a90cf467a405745c253c8647db282eaa980c6051f7d3a10398c8097e37b9a6
utils.server.test.ts https://github.com/simstudioai/sim/pull/6562/files#diff-de9abdda25948905e796db0402d872f9b701127d06b32ec9eaa063c4974c8634
utils.server.ts https://github.com/simstudioai/sim/pull/6562/files#diff-9e8cf7bce7da1d94a302bf3f8f1c11a187c0bcbba08c5e9ded279b66fef5c415
utils.test.ts https://github.com/simstudioai/sim/pull/6562/files#diff-4fc9028961014b77986c725cf7788d973a00f86bab8c151c61755e30cefa9ebe
utils.ts https://github.com/simstudioai/sim/pull/6562/files#diff-3958a62932d77676d42afc1c3b446499dabc0d60ac57e5c1d6a94b6ee2bea76c
tool-ids.ts https://github.com/simstudioai/sim/pull/6562/files#diff-fde8cbb4483aa4a8015ca3e576ab1c9b472d1c97c521fa67e81b469a5297bdfb
tool-metadata.ts https://github.com/simstudioai/sim/pull/6562/files#diff-3a953213cad2b14799015043b75c22cd4815397d3a43ccbf138816bedfdfccd7
tool-outputs.ts https://github.com/simstudioai/sim/pull/6562/files#diff-9fd709d7ce13d883503da15dae272e6c0a0a4fc25d7ec475f4ce6875c097b6aa
registry.ts https://github.com/simstudioai/sim/pull/6562/files#diff-a05e54887bf05477726b00df4183dd4a3fa0fd1f82b867bbf156e1b6a6d7e3fa
check-api-validation-contracts.ts https://github.com/simstudioai/sim/pull/6562/files#diff-48ae6a4d0c1f820d5b644522d25742bb29af758bc8350f1a3cf3f8afa0bd00b0
.agiloft-spec/SPEC.mdhttps://github.com/simstudioai/sim/pull/6562/files#diff-1cc9a3a41451f34bd0be9981e70d8e04bca0b2c22ed9c6f641a0f8ffc9616cbe
View file https://github.com/simstudioai/sim/blob/0aba13d76deed103db6ff4c6bd87ae2ccbb57736/.agiloft-spec/SPEC.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6562/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/6562/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6562/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.